<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@page import="Entity.*" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>修改教师信息</title>
</head>
<body>
<link rel="stylesheet" href="<%=request.getContextPath() %>/css/backstage.css" type="text/css"></link>
	<div class="header">
		<font size='6' color="#62A8EA"><br />&emsp;&emsp;&emsp;修改教师信息</font>
	</div>
	<%
	Teacher teacher=new Teacher();
	if(session.getAttribute("teacherUpdate_session")!=null){
		teacher=(Teacher)session.getAttribute("teacherUpdate_session");
		session.removeAttribute("teacherUpdate_session");
	}
	%>
	<div class="body">
		<form action="../updateteacher" method="post"
			name="alter_teacher_form">
			<!-- <input type="hidden" name="opttype" value="update" /> -->
			<table border="1" class="mytable">
				<tr>
					<td>教师号：</td>
					<td><input type="text" name="teacher_id"
						value=<%=teacher.getTeacher_id() %> readonly></td></tr>
				<tr>
				<td>姓名：</td>
				<td><input type="text" name="teacher_name" value=<%=teacher.getTeacher_name() %>></td></tr>
				<tr>
				<td>性别：</td>
				<td><input type="text" name="teacher_sex" value=<%=teacher.getTeacher_sex() %>></td></tr>
				<tr>
				<td>学院：</td>
				<td><input type="text" name="teacher_dept" value=<%=teacher.getTeacher_dept() %>></td></tr>
				<tr>
				<tr>
				<td>专业：</td>
				<td><input type="text" name="teacher_major" value=<%=teacher.getTeacher_major() %>></td></tr>
				<tr>
				<td>密码：</td>
				<td><input type="text" name="teacher_pwd" value=<%=teacher.getTeacher_pwd() %>></td></tr>
				<tr><td colspan="2" align="center"><input type="submit" value="修改"></td></tr>
			</table>
		</form>
	</div>
</body>
</html>